﻿
@{
    ViewBag.Title = "填写收件地址";
}

<div class="container page-address">
    <div class="container-fluid">
        <div class="row wizard">
            <div class="col-xs-4 ">
                购物车
            </div>
            <div class="col-xs-4 active">
                填写收件地址
            </div>
            <div class="col-xs-4">
                下单支付
            </div>
        </div>
    </div>
@using (Html.BeginForm("Payment", null, FormMethod.Post, new { role = "form" }))
{
    @Html.Action("AddressList", "RecipientInfo")    
    <div class="container-fluid text-center">
        <a href="@Url.Action("Index")" class="btn btn-default">上一步</a>  <button type="submit" class="btn btn-primary">下一步</button>
    </div>
}
</div>




@section footer{
    
    <script>
        $(function () {
            $(".address").click(function (e) {
                e.preventDefault();
                $(".address.panel-primary").removeClass("panel-primary").addClass("panel-default");
                $(this).removeClass("panel-default").addClass("panel-primary");

                $("#addressId").val($(this).attr("data-id"));
            })
        })
    </script>
    }

